<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <span>div之前  表哥</span>
    <div class="box" id="test">
        东风吹战鼓擂 当今世界谁怕谁
        <p>自信</p>

        <p>复出</p>
        <p>健康</p>
        <!-- 先有革命的本钱 -->
        适当的运动 
    </div>
    <span>div之后的 表弟</span>
    <script>
      var divEle = document.querySelector('div');
    //   console.log(divEle.childNodes);
    console.log(divEle.children);
    </script>
</body>
</html>